﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Class_Entity;
using DataAccess;
using System.Data;

namespace BussinessObject
{
    public class BO_TrainType
    {
        public DataSet Load_Traintype(CE_TrainType ce)
        {
            DA__TrainType load_traintype = new DA__TrainType();
            return load_traintype.Load_TrainType(ce);
        }
        public bool AddNew_TrainType(CE_TrainType ce)
        {
            DA__TrainType add_traintype = new DA__TrainType();
            return add_traintype.AddNew_Traintype(ce);
        }
        public bool Update_TrainType(CE_TrainType ce)
        {
            DA__TrainType update_traintype = new DA__TrainType();
            return update_traintype.Update_Traintype(ce);
        }
        public bool Delete_TrainType(CE_TrainType ce)
        {
            DA__TrainType delete_traintype = new DA__TrainType();
            return delete_traintype.Delete_Traintype(ce);
        }
    }
}
